var e = require("./_http.js");

exports.getServerTime = function() {
    return new e.HTTP().request({
        url: "/home/getSystemDate"
    });
}, exports.superCouponHome = function() {
    return new e.HTTP().request({
        url: "/market/activity/superCouponsInfo"
    });
}, exports.superCouponGet = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/random",
        method: "post",
        data: t
    });
}, exports.superCouponHomeTag = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/census",
        method: "post",
        data: t
    });
}, exports.superCouponSign = function() {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/CheckIn",
        method: "post"
    });
}, exports.superCouponShare = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/Share",
        method: "post",
        data: t
    });
}, exports.superCouponOrderCreate = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/insertMarketOrder",
        method: "post",
        data: t
    });
}, exports.superCouponOrderPayZero = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/payByZero/".concat(t),
        method: "post"
    });
}, exports.superCouponOrderPay = function(t, r) {
    return new e.HTTP().request({
        url: "/ChinaUms/marketSuperCouponsPay/".concat(t, "/").concat(r),
        method: "post"
    });
}, exports.superCouponOrderCancel = function(t) {
    return new e.HTTP().request({
        url: "/market/activity/superCoupons/cancel/".concat(t),
        method: "post"
    });
}, exports.rankHome = function() {
    return new e.HTTP().request({
        url: "/ams/peakList/ams/HomePeak"
    });
}, exports.rankProductList = function(t) {
    return new e.HTTP().request({
        url: "/ams/peakList/directPeak",
        data: t,
        method: "post"
    });
}, exports.rankProductIndex = function(t) {
    return new e.HTTP().request({
        url: "/ams/peakList/peakRankingByProductNo",
        data: t,
        method: "post"
    });
}, exports.drawNumberActivityList = function() {
    return new e.HTTP().request({
        url: "/activity/drawNumber/getLatelyActivity",
        data: {},
        method: "post"
    });
}, exports.drawNumberActivityDetails = function(t) {
    return new e.HTTP().request({
        url: "/activity/drawNumber/getDrawNumberActivityDetails",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.drawNumberActivityCompute = function(t) {
    return new e.HTTP().request({
        url: "/oms/drawOrder/orderPrice",
        data: t,
        method: "post"
    });
}, exports.drawNumberActivityCoupons = function(t) {
    return new e.HTTP().request({
        url: "/oms/drawOrder/getCouponList/".concat(t.buyNum, "/").concat(t.detailsId),
        method: "get"
    });
}, exports.drawNumberActivityOrderCreate = function(t) {
    return new e.HTTP().request({
        url: "/oms/drawOrder/submitOrder",
        data: t,
        method: "post"
    });
}, exports.drawNumberActivityOrderCancel = function(t) {
    return new e.HTTP().request({
        url: "/oms/drawOrder/cancel/".concat(t),
        method: "get"
    });
}, exports.newUserHome = function(t) {
    return new e.HTTP().request({
        url: "/activity/newRecruits/getNewRecruitsActivityDetails",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.scanGiftHome = function() {
    return new e.HTTP().request({
        url: "/activity/scancodeGiveGift/getScancodeGiveGiftDetails",
        data: {},
        method: "post"
    });
}, exports.scanGiftUserInfo = function() {
    return new e.HTTP().request({
        url: "/activity/scancodeGiveGift/getScancodeGiveGiftCodeMemberInfo",
        data: {},
        method: "post"
    });
}, exports.scanGiftRank = function(t) {
    return new e.HTTP().request({
        url: "/activity/scancodeGiveGift/powerRanking",
        data: {
            num: t
        },
        method: "post"
    });
}, exports.scanGiftScan = function(t) {
    return new e.HTTP().request({
        url: "/activity/scancodeGiveGift/scanWxCode",
        data: {
            cdkcrads: t
        },
        method: "post"
    });
}, exports.gzhHome = function(t) {
    return new e.HTTP().request({
        url: "/activity/couponMatch/getCouponMatchActivityDetails",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.gzhOpen = function(t) {
    return new e.HTTP().request({
        url: "/activity/couponMatch/openGiftBag",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.gzhArticleUrl = function() {
    return new e.HTTP().request({
        url: "/activity/getOfficialAccountArticleUrl",
        data: {}
    });
}, exports.freeTakeHome = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/getBlindboxFreeTakeDetails",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.freeTakeDrawNum = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/getMemberDrawNum",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.freeTakeOrderList = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/getMemberOrderList",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.freeTakeCurPrice = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/memberActivityPrice",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.freeTakeDraw = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/drawGif",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.freeTakeHelpHim = function(t, r, o) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/shareCaptchaHelp",
        data: {
            activityId: t,
            shareMemberId: r,
            captchaVerification: o
        },
        method: "post"
    });
}, exports.freeTakeHelpRank = function(t) {
    return new e.HTTP().request({
        url: "/activity/blindboxFreeTake/getShareHelpMemberList",
        data: {
            activityId: t
        },
        method: "post"
    });
}, exports.newUserGift = function() {
    return new e.HTTP().request({
        url: "/activity/memberRegisterActivity/getMemberRegisterActivityInfo",
        data: {},
        method: "post"
    });
};